<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>


<%
	String path = request.getContextPath();
	String basePath = "http://" + request.getServerName() + ":"
			+ request.getServerPort() + path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<base href="<%=basePath%>">

<title>Add a new thread</title>
</head>
<body>

	<h1>Add new thread</h1>
	<form name="addingThread" action="viewThreadsProcessor" method="post">
		<table border="1">
			<tbody>
				<tr>
					<td><b>Subject:</b>
					</td>
				</tr>
				<tr>
					<td><input type="text" name="subject" value="">
					</td>
				</tr>
				<tr>
					<td><b>Content:</b>
					</td>
				</tr>
				<tr>
					<td><textarea name="content" cols="40" rows="10"></textarea>
					</td>
				</tr>
				<tr>
					<td colspan="2"><input type="submit" name="btnAdd" value="Add">
					</td>
				</tr>
			</tbody>
		</table>
	</form>
	<br>
	<a href="logout">logout</a>

</body>
</html>